package com.ez.supervise.action.biz;

import com.ez.supervise.action.base.BaseJsonAction;

public class ReportAction extends BaseJsonAction {

	private static final long serialVersionUID = -4486124979828833584L;

	public String show() {
		getResponse().setContentType("text/html; charset=UTF-8");
		// try {
		// StDDLBListBO dDLBListBO = new DDLBListBO(request);
		// Collection deptList = dDLBListBO.getDeptList(null, null,user);
		// request.setAttribute("deptList", deptList);
		//		
		// ReportBO bo = new ReportBO(request);
		// bo.modifyReportConfig();
		// if(!bo.isSuccess()){
		// return actionMapping.findForward("error");
		// }
		//		
		// Collection activeList=bo.getActiveForDDLB("请选择...","",user);
		// request.setAttribute("activeList", activeList);
		// if(!bo.isSuccess()) return actionMapping.findForward("error");
		// //如果为内存读取raq方式,则进行raq读取
		// String reportInnerName=request.getParameter("reportInnerName");
		// bo.getRaq2Jar(0,reportInnerName);
		// if(!bo.isSuccess()) return actionMapping.findForward("error");
		// } catch (Exception e) {
		// e.printStackTrace();
		// outString(RESULT_FAIL);
		// }
		return SUCCESS;
	}

	public String stat() {
		// ReportBO bo = new ReportBO(request);
		// //如果为内存读取raq方式,则进行raq读取
		// String reportInnerName=request.getParameter("reportInnerName");
		// bo.getRaq2Jar(1,reportInnerName);
		// if(!bo.isSuccess()) return actionMapping.findForward("error");
		return SUCCESS;
	}

}
